package com.lg.erp.mapper.jml;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lg.erp.entity.jml.TDepartment;

import java.util.List;

public interface TDepartmentMapper extends BaseMapper<TDepartment> {
    IPage<TDepartment> selectDepartmentByPage(Page<TDepartment> page);

    List<TDepartment> selectAllDepartment();

    TDepartment selectById(String id);

    TDepartment selectByName(String dName);

    List<TDepartment> selectAll();
}
